package com.info33.platform.system.dto;

import java.util.List;

import javax.validation.constraints.NotNull;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 系统用户表
 * 
 * @author Zhang lizhi
 * @email zlz6723520@126.com
 * @date 2019-03-08 00:26:15
 */

@Data
public class SysUserSearchDTO{


	/* 工号 */
	@ApiModelProperty(value = "工号")
	private String jobNumber;
	/* 真实姓名 */
	@ApiModelProperty(value = "真实姓名")
	private String trueName;
	/* 部门 */
	@ApiModelProperty(value = "部门id")
	@JsonSerialize(using = ToStringSerializer.class) 
	private Long currentDeptId;
	
	private String deptType;

	@ApiModelProperty(value = "登录名")
	@NotNull(message = "登录名不能为空")
	private String loginName;

	@TableField(exist=false)
	private String code;

	@TableField(exist=false)
	private String userId;

	@TableField(exist=false)
	private String content;

	@TableField(exist=false)
	@JsonSerialize(using = ToStringSerializer.class)
	private Long roleId;

	@TableField(exist=false)
	private String roleKey;
	
	@TableField(exist=false)
	private List<Long> sonIdList;
}
